package com.j2eefast.produce.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 委托单
 * pms_entrust
 * @author: summer
 * @date 2021-07-08 11:28
 */
@Data
@TableName("pms_entrust")
public class PmsEntrustEntity extends BaseEntity{

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
      /** 编号 */
    @TableField(value = "entrust_code")
    private String  entrustCode;

    /** 委托标题 */
    @TableField(value = "entrust_title")
    private String  entrustTitle;

    /** 工程名称 */
    @TableField(value = "project_name")
    private String  projectName;

    /** 抗震等级 */
    @TableField(value = "grade")
    private Long grade;

    /** 产品名称 */
    @TableField(value = "product_name")
    private String productName;

    /** 规格型号 */
    @TableField(value = "specs")
    private String specs;

    /** 出厂批号 */
    @TableField(value = "samples")
    private String samples;

    /** 进场批量 */
    @TableField(value = "batch")
    private String batch;

    /** 有无出厂质量证明书 */
    @TableField(value = "certificate")
    private String certificate;

    /** 质量等级 */
    @TableField(value = "quality_grade")
    private String qualityGrade;

    /** 出厂日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "production_time")
    private Date productionTime;


    /** 生产厂名 */
    @TableField(value = "factory_name")
    private String factoryName;

    /** 供应商名称 */
    @TableField(value = "supplier_name")
    private String supplierName;

    /** 样品编号 */
    @TableField(value = "sample_code")
    private String sampleCode;

    /** 其他 */
    @TableField(value = "other")
    private String other;

    /** 代表部位 */
    @TableField(value = "positions")
    private String positions;

    /** 样品重量 */
    @TableField(value = "sample_weight")
    private String sampleWeight;

    /** 样品单件数 */
    @TableField(value = "sample_num")
    private String sampleNum;

//    /** 检验项目 */
//    @TableField(value = "inspection_items")
//    private String inspectionItems;

    /** 检验标准 */
    @TableField(value = "inspection_standard")
    private String inspectionStandard;

    /** 焊工号 */
    @TableField(value = "welder")
    private String welder;

    /** 取样人签名 */
    @TableField(value = "samplers")
    private String samplers;

    /** 见证人（专业监理工程师）签名 */
    @TableField(value = "witness")
    private String witness;

    /** 样品处理 */
    @TableField(value = "sample_handle")
    private String sampleHandle;

    /** 施工单位 */
    @TableField(value = "construction_unit")
    private String constructionUnit;

    /** 施工单位电话 */
    @TableField(value = "construction_iphone")
    private String constructionIphone;

    /** 检测单位 */
    @TableField(value = "testing_unit")
    private String testingUnit;

    /** 委托单位 */
    @TableField(value = "entrust_unit")
    private String entrustUnit;

    /** 委托电话 */
    @TableField(value = "entrust_iphone")
    private String entrustIphone;

    /** 取样说明 */
    @TableField(value = "sampling_explain")
    private String samplingExplain;

    /** 盖章 */
    @TableField(value = "seal")
    private String seal;
    /** 盖章 */
    @TableField(value = "qr_code")
    private String qrCode;

    /** 盖章日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "seal_time")
    private Date sealTime;
    /** 委托日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "entrust_time")
    private Date entrustTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    private Date createTime;

    /** 登记日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "registration_time")
    private Date registrationTime;

    /** 校核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "check_time")
    private Date checkTime;

    /** 检验日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "test_time")
    private Date testTime;

    /** 签发日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "issued_time")
    private Date issuedTime;



    /** 作废 */
    @TableField(value = "create_by")
    private String createBy;

    /** 作废 */
    @TableField(value = "update_by")
    private String updateBy;

    /** 作废 */
    @TableField(value = "remark")
    private String remark;

    /** 统计 */
    @TableField(value = "entrust_total")
    private Long entrustTotal;

    /** 送检账户 */
    @TableField(value = "inspection_account")
    private String inspectionAccount;
    /** 收样人 */
    @TableField(value = "collect")
    private String collect;
    /** 检验员 */
    @TableField(value = "task_name")
    private String taskName;

    /** 校验状态 */
    @TableField(value = "check_status")
    private int checkStatus;

    /** 签发状态 */
    @TableField(value = "issued_status")
    private int issuedStatus;


    /** 产品标准 */
    @TableField(value = "product_standard")
    private String productStandard;

    /** 检验方法 */
    @TableField(value = "test_method")
    private String testMethod;

    /** 检验方法 */
    @TableField(value = "inspection_items")
    private String inspectionItems;

    /** 产品编号统计 */
    @TableField(value = "sample_total")
    private Long sampleTotal;

    /** 应用场景 */
    @TableField(value = "scene")
    private int scene;

    /** 分配任务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "task_time")
    private String taskTime;







}
